package net.huashitong.index.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 指标信息表  （存放指标相关的属性）
 */
@Entity
@Table(name = "t_eco_index")
public class IndexInfoEntity extends StringEntity {
    private String indexName;           // 指标名称
    private String datetime;            // 指标年份
    private String indexLevel;          // 指标等级
    private String parentIndexId;       // 父级指标
    private String leadDept;            // 牵头单位
    private String respDept;            // 责任单位
    private String matchDept;           // 匹配单位
    private int    dateUnit;            // 指标时间类型，1 月度，2 季度，3 年度
    private String enterprise;          // 企业
    private String town;                // 指标所在乡镇
    private String leader;              // 分管领导
    private int    sort;                // 排序
    private String source;              // 来源

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getIndexLevel() {
        return indexLevel;
    }

    public void setIndexLevel(String indexLevel) {
        this.indexLevel = indexLevel;
    }

    public int getDateUnit() {
        return dateUnit;
    }

    public void setDateUnit(int dateUnit) {
        this.dateUnit = dateUnit;
    }

    public String getParentIndexId() {
        return parentIndexId;
    }

    public void setParentIndexId(String parentIndexId) {
        this.parentIndexId = parentIndexId;
    }

    public String getEnterprise() {
        return enterprise;
    }

    public void setEnterprise(String enterprise) {
        this.enterprise = enterprise;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getLeadDept() {
        return leadDept;
    }

    public void setLeadDept(String leadDept) {
        this.leadDept = leadDept;
    }

    public String getRespDept() {
        return respDept;
    }

    public void setRespDept(String respDept) {
        this.respDept = respDept;
    }

    public String getMatchDept() {
        return matchDept;
    }

    public void setMatchDept(String matchDept) {
        this.matchDept = matchDept;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
